package com.gerfmarquez.nymph.ui.gesture.detectors;

import android.content.Context;
import android.os.Vibrator;
import android.util.Log;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;

public class LongPressDetector extends SimpleOnGestureListener {
	Context context;
	public boolean isLongPressedCustom = false;
	public LongPressDetector(Context context) {
		this.context = context;
	}
	
	@Override
	public void onLongPress(MotionEvent e) {
//		Log.d("LongPressDetector", "LONG PRESSS:::::::::::::::::::::<<<<<<<<<<<<<<<<");
		((Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE)).vibrate(100);
			isLongPressedCustom = true;
//		}
		super.onLongPress(e);
	}
	
}
